package com.cainaer.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 网关启动程序
 *
 * @author cainaer
 */
@EnableDiscoveryClient
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class CaiNaErGatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(CaiNaErGatewayApplication.class, args);
        System.out.println(" " +
                "██████╗ █████╗ ██╗███╗   ██╗ █████╗ ███████╗██████╗ \n" +
                "██╔════╝██╔══██╗██║████╗  ██║██╔══██╗██╔════╝██╔══██╗\n" +
                "██║     ███████║██║██╔██╗ ██║███████║█████╗  ██████╔╝\n" +
                "██║     ██╔══██║██║██║╚██╗██║██╔══██║██╔══╝  ██╔══██╗\n" +
                "╚██████╗██║  ██║██║██║ ╚████║██║  ██║███████╗██║  ██║\n" +
                " ╚═════╝╚═╝  ╚═╝╚═╝╚═╝  ╚═══╝╚═╝  ╚═╝╚══════╝╚═╝  ╚═╝     菜哪儿网关启动成功     ");
    }


}
